package com.hwy.catering.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 *
 * @TableName tb_flavor_detail
 */
@Data
@TableName("tb_flavor_detail")
public class FlavorDetail extends BaseEntity implements Serializable {
    /**
     * id 雪花自增
     */
//    private Long id;

    /**
     * 父级级口味id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long flavorId;

    /**
     * 名称
     */
    private String name;

    /**
     * 颜色
     */
    private String color;

    private static final long serialVersionUID = 1L;
}
